package com.fishing.service;

import com.fishing.entity.Record;

import java.util.List;

public interface RecordService{


    int deleteByPrimaryKey(Long id);

    int insert(Record record);

    int insertSelective(Record record);

    Record selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Record record);

    int updateByPrimaryKey(Record record);

    List<Record> selectAll(Integer roomId, String startTime, String endTime, Integer pageIndex, Integer pageCount);

    Integer selectCount();
}
